package com.sure.supermarketserver.stock.purchase;

import com.sure.supermarketserver.common.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class PurchaseDto extends PageParam {
    private String im_id;
    private String ca_id;
    private String su_id;
    private Float im_num;

    @DateTimeFormat(pattern = "yyyy-MM-dd") //说明接收日期数据的格式
    private Date im_day;
    private Float im_price;
    private Float im_price_start;
    private Float im_price_end;

    @DateTimeFormat(pattern = "yyyy-MM-dd") //说明接收日期数据的格式
    private Date im_date;

    @DateTimeFormat(pattern = "yyyy-MM-dd") //说明接收日期数据的格式
    private Date im_day_start;

    @DateTimeFormat(pattern = "yyyy-MM-dd") //说明接收日期数据的格式
    private Date im_day_end;

    @DateTimeFormat(pattern = "yyyy-MM-dd") //说明接收日期数据的格式
    private Date im_date_start;

    @DateTimeFormat(pattern = "yyyy-MM-dd") //说明接收日期数据的格式
    private Date im_date_end;

    private String br_id;

    private String su_name;

    private  String ca_name;

    public String getCa_name() {
        return ca_name;
    }

    public void setCa_name(String ca_name) {
        this.ca_name = ca_name;
    }

    public String getSu_name() {
        return su_name;
    }

    public void setSu_name(String su_name) {
        this.su_name = su_name;
    }

    public String getBr_id() {
        return br_id;
    }

    public void setBr_id(String br_id) {
        this.br_id = br_id;
    }

    public String getIm_id() {
        return im_id;
    }

    public void setIm_id(String im_id) {
        this.im_id = im_id;
    }

    public String getCa_id() {
        return ca_id;
    }

    public void setCa_id(String ca_id) {
        this.ca_id = ca_id;
    }

    public String getSu_id() {
        return su_id;
    }

    public void setSu_id(String su_id) {
        this.su_id = su_id;
    }

    public Float getIm_num() {
        return im_num;
    }

    public void setIm_num(Float im_num) {
        this.im_num = im_num;
    }

    public Date getIm_day() {
        return im_day;
    }

    public void setIm_day(Date im_day) {
        this.im_day = im_day;
    }

    public Float getIm_price() {
        return im_price;
    }

    public void setIm_price(Float im_price) {
        this.im_price = im_price;
    }

    public Float getIm_price_start() {
        return im_price_start;
    }

    public void setIm_price_start(Float im_price_start) {
        this.im_price_start = im_price_start;
    }

    public Float getIm_price_end() {
        return im_price_end;
    }

    public void setIm_price_end(Float im_price_end) {
        this.im_price_end = im_price_end;
    }

    public Date getIm_date() {
        return im_date;
    }

    public void setIm_date(Date im_date) {
        this.im_date = im_date;
    }

    public Date getIm_day_start() {
        return im_day_start;
    }

    public void setIm_day_start(Date im_day_start) {
        this.im_day_start = im_day_start;
    }

    public Date getIm_day_end() {
        return im_day_end;
    }

    public void setIm_day_end(Date im_day_end) {
        this.im_day_end = im_day_end;
    }

    public Date getIm_date_start() {
        return im_date_start;
    }

    public void setIm_date_start(Date im_date_start) {
        this.im_date_start = im_date_start;
    }

    public Date getIm_date_end() {
        return im_date_end;
    }

    public void setIm_date_end(Date im_date_end) {
        this.im_date_end = im_date_end;
    }
}
